package com.adk.backend.mapper;

import com.adk.backend.entity.LxReturnList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 退货Mapper接口
 */
@Mapper
public interface ReturnMapper extends BaseMapper<LxReturnList> {
    
    /**
     * 查询退货列表（带关联信息）
     */
    List<Map<String, Object>> selectReturnListWithInfo(@Param("params") Map<String, Object> params);
    
    /**
     * 统计退货数量
     */
    Long countReturnList(@Param("params") Map<String, Object> params);
}

